package xyz.hubery.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.annotation.security.DenyAll;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("GCN卖出参数")
public class SellGCNParam {

    @NotNull
    @ApiModelProperty(value = "币种ID", required = true)
    private Long coinId;

    @ApiModelProperty(value = "卖出数量", required = true)
    @NotNull
    private BigDecimal num;

    @ApiModelProperty(value = "卖出金额", required = true)
    @NotNull
    private BigDecimal mum;

    @ApiModelProperty(value = "支付密码", required = true)
    @NotBlank
    private String payPassword;

    @ApiModelProperty(value = "验证码", required = true)
    @NotBlank
    private String validateCode;

}
